C# Mine
ContentsIndexHome
PreviousUpNext
Gateway.Gateway Constructor (uint, eGatewayType, string, string, string, int, byte[], byte[])

Presets these properties 

GatewayType GatewayFirmwareVersion RadioFirmwareVersion Host Port PreSharedEncryptionKey 

Sets all other properties to default values

Syntax
C#
public Gateway(uint gatewayID, eGatewayType gatewayType, string gatewayFirmwareVersion, string radioFirmwareVersion, string hostAddress, int port, byte[] encryptionKey, byte[] encryptionIV);
Parameters 
Description 
uint gatewayID 
Numerical identifier of the gateway. 
eGatewayType gatewayType 
Type of gateway. 
string gatewayFirmwareVersion 
Gateway firmware version. 
string radioFirmwareVersion 
Radio firmware version. 
string hostAddress 
IP Address or DNS resolvable host name address the gateway uses to communicate to the server. 
int port 
Port the gateway will use to communicate to the server. 
byte[] encryptionKey 
(16 byte) Encryption key generated during handshake, if server is restarted or multiple server instances are configured this key needs to match across all instances or the gateway will have to re initialize its security handshake 
byte[] encryptionIV 
(12 byte) Initialization vector generated during handshake, if server is restarted or multiple server instances are configured this key needs to match across all instances or the gateway will have to re initialize its security handshake 
Copyright (c) 2022. All rights reserved.
What do you think about this topic? Send feedback!